microcode: remove struct ucode_cpu_info
authorChao Gao <chao.gao@intel.com>
Fri, 13 Sep 2019 10:28:44 +0000 (12:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 13 Sep 2019 10:28:44 +0000 (12:28 +0200)
commit81cc0f3931435374077184665148335fca245849
tree68d3b752a9964b2296a051cb5d8ed4b290b42379
parent831f16274942ce70fbb50c438589f82c7d631257
microcode: remove struct ucode_cpu_info

Remove the per-cpu cache field in struct ucode_cpu_info since it has
been replaced by a global cache. It would leads to only one field
remaining in ucode_cpu_info. Then, this struct is removed and the
remaining field (cpu signature) is stored in per-cpu area.

The cpu status notifier is also removed. It was used to free the "mc"
field to avoid memory leak.

Signed-off-by: Chao Gao <chao.gao@intel.com>
Reviewed-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/apic.c
xen/arch/x86/microcode.c
xen/arch/x86/microcode_amd.c
xen/arch/x86/microcode_intel.c
xen/arch/x86/spec_ctrl.c
xen/include/asm-x86/microcode.h